package org.jsola.hr.vo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.jsola.core.vo.BaseVO;

import java.util.Date;

import static org.jsola.core.example.BaseExample.*;
import static org.jsola.notice.example.NoticeTypeExample.E_SORT;
import static org.jsola.notice.example.NoticeTypeExample.N_SORT;
import static org.jsola.notice.example.NoticeTypeExample.*;

/**
 * 通知类型
 *
 * @author wcl
 */
@EqualsAndHashCode(callSuper = true)
@ApiModel(description = "【通知类型】列表展示对象")
@Data
public class HrNoticeTypeListVO extends BaseVO {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(notes = N_ID, example = E_ID)
    private Long id;

    @ApiModelProperty(notes = N_NAME, example = E_NAME)
    private String name;

    @ApiModelProperty(notes = N_MODULE_TYPE, example = E_MODULE_TYPE)
    private String moduleType;

    @ApiModelProperty(notes = N_CODE, example = E_CODE)
    private String code;

    @ApiModelProperty(notes = N_DESC, example = E_DESC)
    private String desc;

    @ApiModelProperty(notes = N_NOTICE_GROUP_ID, example = E_NOTICE_GROUP_ID)
    private Long noticeGroupId;

    @ApiModelProperty(notes = N_SORT, example = E_SORT)
    private Integer sort;

    @ApiModelProperty(notes = N_GMT_CREATE, example = E_GMT_CREATE)
    private Date gmtCreate;

    @ApiModelProperty(notes = N_GMT_MODIFIED, example = E_GMT_MODIFIED)
    private Date gmtModified;

    @ApiModelProperty(notes = "当前通知分类的用工单位通知规则设置")
    private HrNoticeRuleSettingListVO noticeRuleSettingListVO;

    @ApiModelProperty("通知数量")
    private Integer count;

}

